package entity.state.user;

import entity.User;

public class BlackListedState implements UserState {

	
    public BlackListedState() {
    }

    @Override
    public String toString() {
        return "blacklisted";
    }
    
	@Override
	public void blockUser(User user) {
		user.setUserState(new BlockedState());
		
	}

	@Override
	public void activateUser(User user) {
		user.setUserState(new ActiveState());
		
	}

	@Override
	public void blackList(User user) {
		user.setUserState(new BlackListedState());
		
	}

}
